class MaquinaFisica < ActiveRecord::Base
	validates :clock,:memoriaprimaria,:memoriasecundaria,:espacoarmazenamento,:nome,:sistemaoperacional,:cores, :presence=>true
	validates_numericality_of :memoriaprimaria,:memoriasecundaria,:espacoarmazenamento,:cores
	has_many:maquina_virtuals, :dependent =>:destroy
end
